package nc.ebs.message.webservice;

public class CreateTaskSet  implements java.io.Serializable {
    private java.lang.String passWord;

    private java.lang.String setDescription;

    private WFInvokeData[] list;

    public CreateTaskSet() {
    }

    public CreateTaskSet(
           java.lang.String passWord,
           java.lang.String setDescription,
           WFInvokeData[] list) {
           this.passWord = passWord;
           this.setDescription = setDescription;
           this.list = list;
    }


    /**
     * Gets the passWord value for this CreateTaskSet.
     * 
     * @return passWord
     */
    public java.lang.String getPassWord() {
        return passWord;
    }


    /**
     * Sets the passWord value for this CreateTaskSet.
     * 
     * @param passWord
     */
    public void setPassWord(java.lang.String passWord) {
        this.passWord = passWord;
    }


    /**
     * Gets the setDescription value for this CreateTaskSet.
     * 
     * @return setDescription
     */
    public java.lang.String getSetDescription() {
        return setDescription;
    }


    /**
     * Sets the setDescription value for this CreateTaskSet.
     * 
     * @param setDescription
     */
    public void setSetDescription(java.lang.String setDescription) {
        this.setDescription = setDescription;
    }


    /**
     * Gets the list value for this CreateTaskSet.
     * 
     * @return list
     */
    public WFInvokeData[] getList() {
        return list;
    }


    /**
     * Sets the list value for this CreateTaskSet.
     * 
     * @param list
     */
    public void setList(WFInvokeData[] list) {
        this.list = list;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof CreateTaskSet)) return false;
        CreateTaskSet other = (CreateTaskSet) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.passWord==null && other.getPassWord()==null) || 
             (this.passWord!=null &&
              this.passWord.equals(other.getPassWord()))) &&
            ((this.setDescription==null && other.getSetDescription()==null) || 
             (this.setDescription!=null &&
              this.setDescription.equals(other.getSetDescription()))) &&
            ((this.list==null && other.getList()==null) || 
             (this.list!=null &&
              java.util.Arrays.equals(this.list, other.getList())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getPassWord() != null) {
            _hashCode += getPassWord().hashCode();
        }
        if (getSetDescription() != null) {
            _hashCode += getSetDescription().hashCode();
        }
        if (getList() != null) {
            for (int i=0;
                 i<java.lang.reflect.Array.getLength(getList());
                 i++) {
                java.lang.Object obj = java.lang.reflect.Array.get(getList(), i);
                if (obj != null &&
                    !obj.getClass().isArray()) {
                    _hashCode += obj.hashCode();
                }
            }
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(CreateTaskSet.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://tempuri.org/", ">CreateTaskSet"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("passWord");
        elemField.setXmlName(new javax.xml.namespace.QName("http://tempuri.org/", "PassWord"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("setDescription");
        elemField.setXmlName(new javax.xml.namespace.QName("http://tempuri.org/", "setDescription"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("list");
        elemField.setXmlName(new javax.xml.namespace.QName("http://tempuri.org/", "list"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://tempuri.org/", "WFInvokeData"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        elemField.setItemQName(new javax.xml.namespace.QName("http://tempuri.org/", "WFInvokeData"));
        typeDesc.addFieldDesc(elemField);
    }

    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

    /**
     * Get Custom Serializer
     */
    public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }

    /**
     * Get Custom Deserializer
     */
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}
